package com.platform.modules.job.task;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.platform.modules.quality.service.QlyInspectionService;

/**
 * 质量巡查定时任务
 * @author biaohuaming
 *
 */
@Component("inspectionTask")
public class InspectionTask {
	
    @Autowired
    private QlyInspectionService qlyInspectionService;
	
	/**
	 * 巡查记录整改期限内未整改, 修改巡查记录状态为超期未整改
	 */
	public void overdue() {
		qlyInspectionService.overdue(null);
	}
}
